extends ../../layout

block style
  link(rel="stylesheet", href="/stylesheets/webapi/webapi.css")
block prevScript

block content
  include ../documentPath.pug
  div.container
    | 点击链接发送 beacon 
    a(href="http://www.w3c.org" onclick="reportEvent(this)") http://www.w3c.org
    br
    button(onclick="reportEvent('some event')") Click me
  script(src="/javascripts/webapi/beacon/beacon.js")